<div>
  <div style="overflow: auto;" class="GridView">
    <div style="overflow: auto;" class="GridView" id="SearchFilterListView">
      <div>
        <div style="" class="TitleBarView">
          <h1><?php echo $this->navText;?></h1>
        </div>
      </div>
<div>
  <div style="overflow: auto;" class="SecuredEditAndDetailsView EditAndDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView" id="LeadEditAndDetailsView">
    <div class="wide form">
        <?php $form=$this->beginWidget('CActiveForm', array(
                'id'=>'section-create-form',
                'enableAjaxValidation'=>false,
        )); ?>
      <div class="view-toolbar">
          <?php echo CHtml::link('取消', array('index', 'bookFlag'=>$bookFlag, 'chapterFlag'=>$chapterFlag));?>&nbsp;|&nbsp;
          <?php echo CHtml::link('翻译此段', array('translate', 'bookFlag'=>$bookFlag, 'chapterFlag'=>$chapterFlag, 'sectionId'=>$sectionId));?>&nbsp;|&nbsp;
          <?php echo CHtml::submitButton('保存'); ?>
          <?php echo $form->hiddenField($sectionFormModel,'sectionId', array('value'=>$sectionFormModel->sectionId)); ?>
        </div>
        <table>
          <colgroup>
          <col style="width:20%">
          <col style="width:30%">
          <col style="width:20%">
          <col style="width:30%">
          </colgroup>
          <tbody>
            <tr>
              <th><?php echo $form->labelEx($sectionFormModel,'originalSection'); ?></th>
              <td colspan="1"><?php echo $form->textArea($sectionFormModel,'originalSection',array('rows'=>10, 'cols'=>40)); ?><?php echo $form->error($sectionFormModel,'originalSection'); ?></td>
              <th>-</th>
              <td colspan="1">-</td>
			</tr>
            <tr>
              <th><?php echo $form->labelEx($sectionFormModel,'sectionType'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($sectionFormModel).'[sectionType]', $sectionFormModel->sectionType, SectionHelper::getSectionTypeList());?></td>
              <th><?php echo $form->labelEx($sectionFormModel,'isPost'); ?></th>
              <td colspan="1"><?php echo CHtml::dropDownList(get_class($sectionFormModel).'[isPost]', $sectionFormModel->isPost, array('可以','不可以'));?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($sectionFormModel,'sectionSort'); ?></th>
              <td colspan="1"><?php echo $form->textField($sectionFormModel,'sectionSort',array('size'=>5,'maxlength'=>5)); ?> 数据越大越靠前<?php echo $form->error($sectionFormModel,'sectionSort'); ?></td>
              <th><?php echo $form->labelEx($sectionFormModel,'titleParent'); ?></th>
              <td colspan="1"><?php echo $form->textField($sectionFormModel,'titleParent',array('size'=>5,'maxlength'=>5)); ?> 用于快速导航<?php echo $form->error($sectionFormModel,'titleParent'); ?></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($sectionFormModel,'leftX'); ?></th>
              <td colspan="1"><?php echo $form->textField($sectionFormModel,'leftX',array('size'=>5,'maxlength'=>5)); ?> 1倍=30px;<?php echo $form->error($sectionFormModel,'leftX'); ?></td>
              <th><?php echo $form->labelEx($sectionFormModel,'olStart'); ?></th>
              <td colspan="1"><?php echo $form->textField($sectionFormModel,'olStart',array('size'=>5,'maxlength'=>5)); ?><?php echo $form->error($sectionFormModel,'olStart'); ?></td>
            </tr>
          </tbody>
        </table>
    </div>
    <?php $this->endWidget(); ?>
  </div>
</div>
</div></div></div>
